﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SgpaServer.Model.Entities;
using SqlSugarMod.Entities;

namespace SqlSugarMod;
public class QueryCodeFirstTable : PGSql
{

    /// <summary>
    /// 查询所有的用户
    /// </summary>
    public static List<CodeFirstTable1> Query()
    {
        List<CodeFirstTable1> list = PG_db.Queryable<CodeFirstTable1>().ToList();
        return list;
    }
}